using System;
using System.Collections.Generic;
using System.Text;

namespace Microsoft.Samples.BizTalk.Adapter.Tcp.Config
{
    /// <summary>
    ///     This class defines the resource constants for the adapter.
    /// </summary>
    /// <author>
    ///     Paul Brown
    /// </author>
    public class ResourceConstants
    {
        // Base name for resources
        public const string BaseName = "Microsoft.Samples.BizTalk.Adapter.Tcp.Config.Resources";

        // Schema resources
        public const string ReceiveHandlerSchema = "Microsoft.Samples.BizTalk.Adapter.Tcp.Config.ReceiveHandler.xsd";
        public const string ReceiveLocationSchema = "Microsoft.Samples.BizTalk.Adapter.Tcp.Config.ReceiveLocation.xsd";
        public const string TransmitHandlerSchema = "Microsoft.Samples.BizTalk.Adapter.Tcp.Config.TransmitHandler.xsd";
        public const string TransmitLocationSchema = "Microsoft.Samples.BizTalk.Adapter.Tcp.Config.TransmitLocation.xsd";

        // Validation exceptions
        public const string MustSpecifyBizTalkPartyIfDuplex = "V0001";
        public const string MustSpecifyEndpointAddressIfNotDuplex = "V0002";
        public const string MustSpecifyCustomEncodingValue = "V0003";
        public const string MustSpecifyCustomValueAsNumeric = "V0004";
        public const string MustSpecifyBinaryFormatCorrectly = "V0005";
    }
}
